
using System;
using System.Collections;

namespace FutureOpen.Core
{
	#region Logqueryusr

	/// <summary>
	/// Logqueryusr object for NHibernate mapped table 'logqueryusr'.
	/// </summary>
	public class Logqueryusr
		{
		#region Member Variables
		
		protected int _logqueryusr_id;
		protected string _logqueryusr_query;
		protected DateTime _logqueryusr_time;
		protected int _logqueryusr_usr;

		#endregion

		#region Constructors

		public Logqueryusr() { }

		public Logqueryusr( string logqueryusr_query, DateTime logqueryusr_time, int logqueryusr_usr )
		{
			this._logqueryusr_query = logqueryusr_query;
			this._logqueryusr_time = logqueryusr_time;
			this._logqueryusr_usr = logqueryusr_usr;
		}

		#endregion

		#region Public Properties

		public virtual int Logqueryusr_id
		{
			get {return _logqueryusr_id;}
			set {_logqueryusr_id = value;}
		}

		public virtual string Logqueryusr_query
		{
			get { return _logqueryusr_query; }
			set
			{
				if ( value != null && value.Length > 300)
					throw new ArgumentOutOfRangeException("Invalid value for Logqueryusr_query", value, value.ToString());
				_logqueryusr_query = value;
			}
		}

		public virtual DateTime Logqueryusr_time
		{
			get { return _logqueryusr_time; }
			set { _logqueryusr_time = value; }
		}

		public virtual int Logqueryusr_usr
		{
			get { return _logqueryusr_usr; }
			set { _logqueryusr_usr = value; }
		}

        
		#endregion
		
        
	}

	#endregion
}
